package com.atguigu.srb.core.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
/**
 * <p>
 * 社团报名表
 * </p>
 *
 * @author Helen
 * @since 2021-02-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ClubRegistration对象",description = "社团报名表")
public class ClubRegistration implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "社团报名ID")
    @TableId(value = "club_registration_id", type = IdType.AUTO)
    private int clubRegistrationId; // 社团报名ID

    @ApiModelProperty(value = "社团编号")
    private String communityNumber;

    @ApiModelProperty(value = "社团名称")
    private String communityName;

    @ApiModelProperty(value = "社团地址")
    private String communityAddress;

    @ApiModelProperty(value = "社团团长")
    private String headOfAssociation;

    @ApiModelProperty(value = "申请时间")
    private Date applicationTime;

    @ApiModelProperty(value = "学号")
    private int studentNumber;

    @ApiModelProperty(value = "姓名")
    private String fullName;

    @ApiModelProperty(value = "性别")
    private String gender;

    @ApiModelProperty(value = "专业")
    private String major;

    @ApiModelProperty(value = "入学年份")
    @TableField("enrollment_year_") // 指定数据库列名
    private String enrollmentYear;

    @ApiModelProperty(value = "所属二级学院")
    private String secondaryCollege;

    @ApiModelProperty(value = "用户账号")
    private int userAccount;

    @ApiModelProperty(value = "申请原因")
    private String reasonForApplication;

    @ApiModelProperty(value = "审核状态")
    private String examineState;

    @ApiModelProperty(value = "审核回复")
    private String examineReply;

    @ApiModelProperty(value = "删除标记（0:不可用 1:可用）")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;

}
